﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SeaBattle.Domain.Abstract.Services;
using SeaBattle.Domain.Concrete.Services;

namespace SeaBattle.Domain.RepositoryFactory
{
    public class AccountFactory
    {
        private static IAccountService accountService;

        public static IAccountService CreateAccountService()
        {
            if (accountService == null)
            {
                accountService = new FakeAccountService();
            }
            return accountService;
        }
    }
}
